public class zy3 {
    public static void main(String[] args) {
        int b = 0;
        for (int a = 1; a <= 100; a++) {
            if (a % 7 == 0 || a / 10 == 7 || a % 10 == 7) {
                System.out.print("黑马");

                continue;
                }
                    System.out.print(a + " ");
        }
    }
}

